package com.kb.entity.shtQuote;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class GoodsData {
    @JsonProperty("goodsSn")
    private String goodsSn;

    @JsonProperty("modelId")
    private int modelId;

    @JsonProperty("modelName")
    private String modelName;

    @JsonProperty("brandId")
    private int brandId;

    @JsonProperty("brandName")
    private String brandName;

    @JsonProperty("encapsulationValue")
    private String encapsulationValue;

    @JsonProperty("stockNum")
    private int stockNum;

    @JsonProperty("hkStockNum")
    private int hkStockNum;

    @JsonProperty("szStockNum")
    private int szStockNum;

    @JsonProperty("mpq")
    private int mpq;

    @JsonProperty("muq")
    private int muq;

    @JsonProperty("moq")
    private int moq;

    @JsonProperty("type")
    private int type;

    @JsonProperty("description")
    private String description;

    @JsonProperty("weight")
    private String weight;

    @JsonProperty("dateCode")
    private String dateCode;

    @JsonProperty("needSplitGoods")
    private int needSplitGoods;

    @JsonProperty("priceStagesRMBTax")
    private List<PriceStage> priceStagesRMBTax;

    @JsonProperty("priceStagesCNUSD")
    private List<PriceStage> priceStagesCNUSD;

    @JsonProperty("priceStagesHkUSD")
    private List<PriceStage> priceStagesHkUSD;

    @Data
    public static class PriceStage {
        @JsonProperty("ladderNumber")
        private int ladderNumber;

        @JsonProperty("ladderTaxPrice")
        private double ladderTaxPrice;

        @JsonProperty("ladderTaxPriceAmount")
        private double ladderTaxPriceAmount;


    }
}
